package com.pexper.ingoal.view.activity;

import com.pexper.ingoal.view.R;
import com.pexper.ingoal.view.fragment.FragmentListaEquipes;

import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;

public class EquipesActivity extends InGoalActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_equipes);
		// adiciona fragmente detalhes da equipe e exibido
		if (savedInstanceState == null) {
			FragmentListaEquipes fragListaEquipes = new FragmentListaEquipes();
			FragmentTransaction t = getSupportFragmentManager().beginTransaction();
			t.add(R.id.layout_lista_equipe_esquerda, fragListaEquipes);
			t.commit();
		}
	}

}
